><

Get Form Value



The Get Form Value action reads the current content of a form element from the body of the current page. This action depends on input from the viewer in the form text field.

To set up a Get Form Value action:

1 Insert a Head Action in the head section of the page (see Setting up onload event actions).

2 Choose the Get Form Value option from the Getters submenu of the Action menu in the Action Inspector (see Using Adobe GoLive actions).

3 In the Exec. menu, set the Exec trigger to OnUnload. (You can also use the OnCall action if you attach it to a form image that serves as a Submit button.)

4 In the Form text box, enter the name of the form that contains the text field.

5 In the Element text box, enter the name of the text field whose content you want to read.

6 If your form contains more elements you want to have read, insert more Get Form Value actions and set them up as required.

7 Set up companion actions that process the result--for example, a Set Cookie action that stores the contents of various Get Form Value actions on the viewer's hard disk. See Write a Cookie.


Using Actions > Using Adobe GoLive actions > Get Form Value